home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / rbbs_pc / 173atxt.zip / DOORTEST.BAT < prev    next >
DOS Batch File  |  1990-08-26  |  1KB  |  27 lines

  1. ECHO OFF
  2. CLS
  3. ECHO This is a DOOR TEST bat file.  It doesn't do anything, but it
  4. ECHO does show you where the various files go to get doors running.
  5. ECHO THIS file represents the door startup .BAT.  It should contain
  6. ECHO The instructions to run the door (passing any needed parameters).
  7. ECHO When this file exits, RBBS-PC will restart.
  8. IF NOT %5. == . GOTO DOORDEF
  9. ECHO RBBS-PC did not use the supplied DOORS.DEF file to invoke this
  10. ECHO door.  The only thing passed to the door in this case is the
  11. ECHO node number, which is %1.
  12. :DOORDEF
  13. ECHO If this .BAT file is started from DOORS.DEF, you can pass the following
  14. ECHO information:
  15. ECHO [BAUD] in the template passes..... BAUD RATE: %1
  16. ECHO [PARITY] in the template passes...... PARITY: %2
  17. ECHO [PORT] in the template passes........ DEVICE: %3
  18. ECHO [PORT#] in the template passes.. PORT NUMBER: %4
  19. ECHO [NODE] in the template passes.......... NODE: %5
  20. ECHO Now, we'll tell the REMOTE user we made it to the door.
  21. IF %4. == . GOTO EXIT
  22. IF %3. == COM0. ECHO This test was run in LOCAL mode.
  23. IF NOT %3. == COM0. ECHO Door test successful!  Returning to BBS... > %3
  24. :EXIT
  25. ECHO End of test - now returning to RBBS-PC.
  26. IF %4. == 0. PAUSE
  27.